//存到character中没有分组的数据
var datas=[];
for( var c = db.allCharacter.aggregate({'$project':{"character":1}}); c.hasNext(); ) {
  var datas=c.next();
 }
var data=datas.character;
var allChr=[];
for( var c = db.idDatas.aggregate({'$project':{"datas":1}}); c.hasNext(); ) {
  var a=c.next();
  allChr.push(a);
 }
 var idItems=[];
 var temp=[];
for (var item in allChr) {
   for (var i in data) {
     for (var j in allChr[item].datas[17]) {
       if (data[i]==allChr[item].datas[17][j]) {
         var chr=data[i];
         temp.push(chr);
         var id=allChr[item]._id;
         db.mapListLessNumber.insert({'character':chr,'id':id});
       }
     }
   }
  }
